package com.oocl.consumer.dao;

import java.util.List;

import com.oocl.consumer.pojo.Book;

/**
 * Book dao
 * @author GANAB
 *
 */
public interface BookDao {
	
	public int addBook(Book book);
	
	public int addBatchBook(List<Book> books, int limit);
	
	public int deleteBook(Integer id);
	
	public int updateBook(Book book);
	
	public List<Book> queryAllBook();
	
	public Book queryBookById(Integer id);
}
